package com.woniuxy.charin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.charin.model.entity.Investors;
import com.woniuxy.charin.model.vo.InvestorsVo;
import org.springframework.http.ResponseEntity;

import java.util.List;
import java.util.Map;


/**
* @author Admin
* @description 针对表【investors】的数据库操作Service
* @createDate 2024-12-24 10:40:57
*/
public interface InvestorsService extends IService<Investors> {
    Page<InvestorsVo> getAll(Integer pageNum, Integer pageSize);
    Page<InvestorsVo> getInv(Integer pageNum, Integer pageSize);
    void  deleteById (Integer invId);
    void   batchDelete(Integer[]invIds);

    Investors findById(Integer invId);

    Page<InvestorsVo> query(Map<String, String> params);

    List<InvestorsVo> getByU(Integer userId);
}
